/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mekegi.whoanthro;

import android.content.ContentValues;
import android.database.Cursor;
import java.util.HashMap;

/**
 *
 * @author Arsen Abdusalamov
 */
public interface IModel {

    @Override
    public String toString();

    public Long getId();
    public void setId(Long id);

    public void fromContentValues(ContentValues contentValues);
    public void fromCursor(Cursor cursor);

    public ContentValues toContentValues();

    public String getTextForView();

    public HashMap<String, Integer> getColumnsMap();
}
